package cn.wp.ewallet.common.dao;

import cn.wp.ewallet.common.model.entity.ConverRuleDictDo;

import java.util.List;

/**
 * Created by yangjin on 2020/1/11
 */
public interface ConverRoleDictDao {

    void insertConverRuleDict(ConverRuleDictDo converRuleDictDo);

    void updateConverRuleDict(ConverRuleDictDo converRuleDictDo);

    /**
     * 查询币种汇率
     * @param baseMoney
     * @param priceMoney
     * @param converType
     * @return
     */
    ConverRuleDictDo selectConverRuleDict(String baseMoney, String priceMoney, String converType);

    /**
     * 查询融资兑换率
     * @return
     */
    List<ConverRuleDictDo> selectConverRuleDict();
}
